
const mutations = {
  SET_ISMAXIMIZE (state, isMaximize) {
    state.isMaximize = isMaximize
  },
  SET_HEADERNAME (state, headerName) {
    state.headerName = headerName
  },
  SET_USERINFO (state, userInfo) {
    state.userInfo = userInfo
  },
  SET_USERDETAIL (state, userDetail) {
    state.userDetail = userDetail
  },
  SET_REFRESHTOKENEXP (state, refreshTokenExp) {
    state.refreshTokenExp = refreshTokenExp
  },
  SET_AUTHORITIES (state, authorities) {
    state.authorities = authorities
  },
  SET_ROUTERLIST (state, routerList) {
    state.routerList = routerList
  },
  SET_NAVLIST (state, navList) {
    state.navList = navList
  },
  SET_PAGESELECT (state, pageSelect) {
    state.pageSelect = pageSelect
  },
  SET_TOKEN (state, token) {
    state.token = token
  },
  SET_REFRESHTOKEN (state, refreshToken) {
    state.refreshToken = refreshToken
  },
  SET_PLANTOPT (state, plantOpt) {
    state.plantOpt = plantOpt
  },
  SET_PLANTLOADING (state, plantLoading) {
    state.plantLoading = plantLoading
  },
  SET_WORKSHOPOPT (state, workshopOpt) {
    state.workshopOpt = workshopOpt
  },
  SET_WORKSHOPLOADING (state, workshopLoading) {
    state.workshopLoading = workshopLoading
  },
  SET_FOOTPRINT (state, footprint) {
    state.footprint = footprint
  },
  SET_HISTORY (state, history) {
    state.history = history
  },
  SET_DATYPETE (state, dateType) {
    state.dateType = dateType
  },
  SET_TEAMLIST (state, teamList) {
    state.teamList = teamList
  },
  SET_PROCESSTYPE (state, processType) {
    state.processType = processType
  },
  SET_EQUIPMENTTYPELOADING (state, equipmentTypeLoading) {
    state.equipmentTypeLoading = equipmentTypeLoading
  },
  SET_EQUIPMENTTYPEOPT (state, equipmentTypeOptions) {
    state.equipmentTypeOptions = equipmentTypeOptions
  },
  SET_LOCALFOLDERLIST (state, localFolderList) {
    state.localFolderList = JSON.parse(JSON.stringify(localFolderList))
  },
  SET_GUIDELINES (state, status) {
    state.guideLines = status
  },
  SET_PERMISSIONS (state, permissions) {
    state.permissions = permissions
  },
  SET_REFRESH (state, refresh) {
    state.refresh = refresh
  },
  SET_SMALLSTOP (state, smallStop) {
    state.smallStop = smallStop
  },
  SET_STOPRANGE (state, stopRange) {
    state.stopRange = stopRange
  },
  SET_PROGRESSSET (state, progressSet) {
    state.progressSet = progressSet
  },
  SET_AUTO_REPULSE (state, autoRepulseList) {
    state.autoRepulseList = autoRepulseList
  },
  SET_QUALIFYVAL (state, qualifyVal) {
    state.qualifyVal = qualifyVal
  },
  SET_NORMREVISE (state, normRevise) {
    state.normRevise = normRevise
  },
  SET_CHECK_TIME (state, checkTime) {
    state.checkTime = checkTime
  },
  SET_CUTTERLIFT (state, cutterLife) {
    state.cutterLife = cutterLife
  },
  SET_MOLDLIFT (state, moldLife) {
    state.moldLife = moldLife
  },
  SET_PRODUCTION (state, productionVal) {
    state.productionVal = productionVal
  },
  SET_DEFECTRATE (state, defectRate) {
    state.defectRate = defectRate
  },
  SET_SCHEMEORDERBY (state, schemeOrderBy) {
    state.schemeOrderBy = schemeOrderBy
  },
  SET_ZTREEDATA (state, payload) {
    const s = state
    s.ztreeData = payload
  },
  SET_SOCKET (state, payload) {
    const s = state
    s.client = payload
  },
  SET_USERPHOTO (state, userPhoto) {
    state.userPhoto = userPhoto
  },
  SET_SRMORDERLIST (state, srmOrderList) {
    state.srmOrderList = srmOrderList
  },
  SET_SIGNFILEDATA (state, signFileData) {
    state.signFileData = signFileData
  },
  SET_STATUSLIST (state, statusList) {
    state.statusList = statusList
  },
  SET_SYSTEMLOGO (state, systemLogo) {
    state.systemLogo = systemLogo
  }
}

export default mutations
